
<?php include_once 'common/header.php';  ?>
<!-- admin_main -->
<div class="admin_main"><!-- Admin_top end --> <?php include_once 'common/user_left.php';  ?>
<!-- Admin_Left End -->
<div class="admin_right">
<div class="admin_right_title">
<strong>客户管理</strong> >> 推荐人管理 >> 投资记录列表
</div>
<div class="admin_right_con" style="width: 98%">
<div class="exclebackground">
	<a class="exclebtn" href="/ychadmin/reference/invite_excel/?username=<?php echo $parms['username'];?>&invite_username=<?php echo $parms['invite_username'];?>">导出数据</a>
</div>
<table border="0" cellspacing="1" cellpadding="0" bgcolor="#cfe6f4"
	width="100%">
	<tr style="color: #0068b7;">
		<td height="35" align="center" valign="middle" bgcolor="#F1F1F1"><strong>ID</strong></td>
		<td height="35" align="center" valign="middle" bgcolor="#F1F1F1"><strong>投资人</strong></td>
		<td height="35" align="center" valign="middle" bgcolor="#F1F1F1"><strong>上级推荐人</strong></td>
        <td height="35" align="center" valign="middle" bgcolor="#F1F1F1"><strong>上级推荐人奖励</strong></td>
		<td height="35" align="center" valign="middle" bgcolor="#F1F1F1"><strong>顶级推荐人</strong></td>
        <td height="35" align="center" valign="middle" bgcolor="#F1F1F1"><strong>顶级推荐人奖励</strong></td>
		<td height="35" align="center" valign="middle" bgcolor="#F1F1F1"><strong>投资总金额</strong></td>
		<td height="35" align="center" valign="middle" bgcolor="#F1F1F1"><strong>投资总笔数</strong></td>
	</tr>
	<?php foreach($user_list as $info){?>
	<tr>
		<td height="35" align="center" valign="middle" bgcolor="#FFFFFF"><?php echo $info['user_id'];?></td>
		<td height="35" align="center" valign="middle" bgcolor="#FFFFFF"><?php echo $info['username'];?></td>
		<td height="35" align="center" valign="middle" bgcolor="#FFFFFF"><?php echo $info['invite_username'];?></td>
        <td height="35" align="center" valign="middle" bgcolor="#FFFFFF"><?php echo $info['yiji_reward'];?></td>
		<td height="35" align="center" valign="middle" bgcolor="#FFFFFF"><?php echo $info['dj_username'];?></td>
        <td height="35" align="center" valign="middle" bgcolor="#FFFFFF"><?php echo $info['dingji_reward'];?></td>
		<td height="35" align="center" valign="middle" bgcolor="#FFFFFF"><?php echo $info['money'];?></td>
		<td height="35" align="center" valign="middle" bgcolor="#FFFFFF"><?php echo $info['count'];?></td>
	</tr>
	<?php }?>
	<tr>
		<td colspan="10" align="right" bgcolor="#FFFFFF">
            <form action="" method="get">
                投资人：<input type="text" id="username" name="username" value="<?php echo $parms['username'];?>" />
                推荐人：<input type="text" id="invite_username" name="invite_username" value="<?php echo $parms['invite_username'];?>" />
                注册时间：
                <input type="text" id="begin_time" onfocus="WdatePicker()" name="begin_time" value="<?php echo $parms['begin_time'];?>" />到
                <input type="text" id="end_time" onfocus="WdatePicker()" name="end_time" value="<?php echo $parms['end_time'];?>" />
                <input type="submit" />
            </form>
		</td>
	</tr>
	<tr>
		<td height="35" colspan="10" align="center" class="page"
			bgcolor="#FFFFFF"><?php echo $this->pagination->create_links();?></td>
	</tr>
</table>

</div>
</div>
<!-- Admin_Right End --></div>
<!-- admin_main end -->
</body>
</html>
